package per.com.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;
import per.com.bean.SportConfig;
import per.com.dao.SportConfigDao;

import java.util.List;

/**
 * Created by wubihang on 2018/9/21.
 */
@Service("SportConfigServiceId")
public class SportConfigService {

    @Autowired
    @Qualifier("SportConfigDaoId")
    private SportConfigDao sportConfigDao;

    public void insertSelective(SportConfig sportConfig){
        sportConfigDao.insertSelective(sportConfig);
    }

    public List<SportConfig> getAll() {
        return sportConfigDao.getAll();
    }


}
